github.com/coder/websocket.header.opcode (field)

14 uses

	github.com/coder/websocket (current package)
		frame.go#L42: 	opcode opcode
		frame.go#L65: 	h.opcode = opcode(b & 0xf)
		frame.go#L127: 	b |= byte(h.opcode)
		read.go#L177: 	if h.opcode != opText && h.opcode != opBinary {
		read.go#L200: 		switch h.opcode {
		read.go#L205: 				if h.opcode == opClose && CloseStatus(err) != -1 {
		read.go#L208: 				return header{}, fmt.Errorf("failed to handle control frame %v: %w", h.opcode, err)
		read.go#L213: 			err := fmt.Errorf("received unknown opcode %v", h.opcode)
		read.go#L315: 	switch h.opcode {
		read.go#L386: 	if h.opcode == opContinuation {
		read.go#L394: 	return MessageType(h.opcode), c.msgReader, nil
		read.go#L470: 			if h.opcode != opContinuation {
		write.go#L280: 	c.writeHeader.opcode = opcode